package com.ysw.springbootproject.config.annotation;

import java.lang.annotation.*;

/**
 * @author 月上微
 * @date 2025/1/4
 * @since 17:54
 */
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TokenToUser {

    /**
     * 当前用户参数名
     *
     * @return String
     */
    String value() default "user";
}
